<!-- 404页面 -->
 <template>
    <div class="error-box">
        <el-button class="btn" @click="()=> router.go(-1)">
            返回上一页
        </el-button>
    </div>
 </template>
 
 <script setup>
 import { useRouter } from 'vue-router';
 const router = useRouter();
 </script>
 
 <style scoped>
 .error-box{
    width: 100%;
    height: 100%;
    background:url("@/assets/imgs/404.png") no-repeat center center;
    background-size: cover;
 }
 .btn{
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%,-50%);
    /* background-color: #fff;
    color: #000;
    border: 1px solid #000; */
 }
 </style>